<?php
    if(isset($_GET['m_id'])){
        $m_id = $_GET['m_id']+0;
        if($m_id<1 OR $m_id>9){
            $m_id = 1;
        }
    }else{
        $m_id = 1;
    }
?>
        
        <div class="grid_6" id="sidebar">
            <div id="submenu">
                <ul class="submenu">
                    <li><a<?php if($m_id==1){ echo ' class="current"';} ?> href="?m=media-communications&m_id=1" title="Web Development">Web Development</a></li>
                    <li><a<?php if($m_id==2){ echo ' class="current"';} ?> href="?m=media-communications&m_id=2" title="Interactive Presentation">Interactive Presentation</a></li>
                    <li><a<?php if($m_id==3){ echo ' class="current"';} ?> href="?m=media-communications&s=video&m_id=3" title="Video Presentation">Video Presentation</a></li>
                    <li><a<?php if($m_id==4){ echo ' class="current"';} ?> href="?m=media-communications&m_id=4" title="E-Magazine Service">E-Magazine Service</a></li>
                    <li><a<?php if($m_id==5){ echo ' class="current"';} ?> href="?m=media-communications&m_id=5" title="Annual Report">Annual Report</a></li>
                    <li><a<?php if($m_id==6){ echo ' class="current"';} ?> href="?m=media-communications&m_id=6" title="Printing Service">Printing Service</a></li>
                    <li><a<?php if($m_id==7){ echo ' class="current"';} ?> href="?m=media-communications&m_id=7" title="Digital Photography">Digital Photography</a></li>
                    <li><a<?php if($m_id==8){ echo ' class="current"';} ?> href="?m=media-communications&m_id=8" title="Copywriter & Translation Service">Copywriter & Translation Service</a></li>
                    <li><a<?php if($m_id==9){ echo ' class="current"';} ?> href="?m=media-communications&m_id=9" title="CD/DVD Production">CD/DVD Production</a></li>
                </ul>
            </div>
        </div><!-- end .grid_6 -->